package com.cman777.springc.common.bean.enums;

import com.cman777.springc.common.bean.Iface.EnumIFace;
import lombok.Getter;

/**
 * @author chenzhicong
 * @time 2019/11/12 0:58
 * @description
 */
@Getter
public enum Env implements EnumIFace {
    /**
     *
     */
    DEV("DEV", "开发环境"),
    TEST("TEST", "测试环境"),
    SHOW("SHOW", "演示环境"),
    ONLINE("ONLINE", "线上环境");

    private final String code;
    private final String lowerCode;
    private final String message;

    Env(String code, String message) {
        this.code = code;
        this.lowerCode = code.toLowerCase();
        this.message = message;
    }
}
